package com.etone.smartAudit.dto.task;

import com.etone.smartAudit.dto.item.ItemExpansionSourceDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/12/7
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "ResourceTaskDTO", description = "资源申请和资源扩容任务表单")
public class ResourceTaskDTO extends BaseTaskDTO implements Serializable {
    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("联系方式")
    private String contactTel;

    @ApiModelProperty("申请原因|扩容原因")
    private String cause;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("扩容资源")
    private List<ItemExpansionSourceDTO> itemExpansionSources;
}
